package org.jeecg.modules.data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.poi.ss.formula.functions.T;
import org.jeecg.modules.data.entity.DisExcelData;
import org.jeecg.modules.data.entity.TDataStatistics;

import java.util.List;

/**
 * @Description: t_data_statistics
 * @Author: jeecg-boot
 * @Date:   2025-05-20
 * @Version: V1.0
 */
public interface TDataStatisticsMapper extends BaseMapper<TDataStatistics> {

    /**
     * 根据区域查询是否存在统计信息
     * @param statistics
     * @return
     */
    TDataStatistics selectDataByCantCode(TDataStatistics statistics);

    /**
     * 查询统计列表
     * @param tDataStatistics
     * @return
     */
    List<TDataStatistics> selectDataList(TDataStatistics tDataStatistics);

    /**
     * 根据id查询统计详情
     * @param id
     * @return
     */
    TDataStatistics selectDataInfoById(String id);

    /**
     * 查调查发布的省信息
     * @param inId
     * @return
     */
    TDataStatistics selectProvince(String inId);

    /**
     * 根据市查询明细
     * @return
     */
    List<DisExcelData> selectDisExcelDataList(TDataStatistics city);
}
